package com.kaili.basic.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;


@TableName("base_product_manage")
@ApiModel(description = "产品")
public class BaseProductManage extends CommonVo implements Serializable{


    private static final long serialVersionUID = 345795171489760777L;
    /**
     * 产品Id
     */
    @TableId(value = "product_id", type = IdType.AUTO)
    @ApiModelProperty("产品ziiId")
    private Long productId;
    /**
     * 产品条码
     */
    @TableField("product_code")
    @ApiModelProperty("产品条码")
    private String productCode;
    /**
     * 产品名称
     */
    @TableField("product_name")
    @ApiModelProperty("产品名称")
    private String productName;
    /**
     * 显示
     */
    @TableField("product_show")
    @ApiModelProperty("显示")
    private String productShow;
    /**
     * 自编码
     */
    @TableField("auto_code")
    @ApiModelProperty("自编码")
    private String autoCode;
    /**
     * 货主ID
     */
    @TableField("shipper_id")
    @ApiModelProperty("货主ID")
    private Long shipperId;
    /**
     * 产品类别
     */
    @TableField("category_id")
    @ApiModelProperty("产品类别")
    private Long categoryId;
    /**
     * 规格
     */
    @TableField("format")
    @ApiModelProperty("规格")
    private String format;
    /**
     * 批发价
     */
    @TableField("trade")
    @ApiModelProperty("批发价")
    private Double trade;
    /**
     * 进货价
     */
    @TableField("buy")
    @ApiModelProperty("进货价")
    private Double buy;
    /**
     * 零售价
     */
    @TableField("retail")
    @ApiModelProperty("零售价")
    private Double retail;
    /**
     * 长
     */
    @TableField("length")
    @ApiModelProperty("长")
    private Double length;
    /**
     * 宽
     */
    @TableField("width")
    @ApiModelProperty("宽")
    private Double width;
    /**
     * 高
     */
    @TableField("height")
    @ApiModelProperty("高")
    private Double height;
    /**
     * 体积
     */
    @TableField("volume")
    @ApiModelProperty("体积")
    private Double volume;
    /**
     * 重量
     */
    @TableField("weight")
    @ApiModelProperty("重量")
    private Double weight;
    /**
     * 助记码
     */
    @TableField("help_code")
    @ApiModelProperty("助记码")
    private String helpCode;
    /**
     * 计量单位
     */
    @TableField("measurement_id")
    @ApiModelProperty("计量单位")
    private Long measurementId;
    /**
     * 有效期
     */
    @TableField("validity")
    @ApiModelProperty("有效期")
    private String validity;
    /**
     * 上限
     */
    @TableField("upper")
    @ApiModelProperty("上限")
    private String upper;
    /**
     * 下限
     */
    @TableField("lower")
    @ApiModelProperty("下限")
    private String lower;

    @ApiModelProperty(" 货主")
    private String shipper;

    @ApiModelProperty(" 类别")
    private String category;

    @ApiModelProperty(" 单位")
    private String measurement;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductShow() {
        return productShow;
    }

    public void setProductShow(String productShow) {
        this.productShow = productShow;
    }

    public String getAutoCode() {
        return autoCode;
    }

    public void setAutoCode(String autoCode) {
        this.autoCode = autoCode;
    }

    public String getHelpCode() {
        return helpCode;
    }

    public void setHelpCode(String helpCode) {
        this.helpCode = helpCode;
    }

    public Long getShipperId() {
        return shipperId;
    }

    public void setShipperId(Long shipperId) {
        this.shipperId = shipperId;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getFormat() {
        return format;
    }

    public void setFormat(String format) {
        this.format = format;
    }

    public Double getTrade() {
        return trade;
    }

    public void setTrade(Double trade) {
        this.trade = trade;
    }

    public Double getBuy() {
        return buy;
    }

    public void setBuy(Double buy) {
        this.buy = buy;
    }

    public Double getRetail() {
        return retail;
    }

    public void setRetail(Double retail) {
        this.retail = retail;
    }

    public Double getLength() {
        return length;
    }

    public void setLength(Double length) {
        this.length = length;
    }

    public Double getWidth() {
        return width;
    }

    public void setWidth(Double width) {
        this.width = width;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getVolume() {
        return volume;
    }

    public void setVolume(Double volume) {
        this.volume = volume;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Long getMeasurementId() {
        return measurementId;
    }

    public void setMeasurementId(Long measurementId) {
        this.measurementId = measurementId;
    }

    public String getValidity() {
        return validity;
    }

    public void setValidity(String validity) {
        this.validity = validity;
    }

    public String getUpper() {
        return upper;
    }

    public void setUpper(String upper) {
        this.upper = upper;
    }

    public String getLower() {
        return lower;
    }

    public void setLower(String lower) {
        this.lower = lower;
    }

    public String getShipper() {
        return shipper;
    }

    public void setShipper(String shipper) {
        this.shipper = shipper;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getMeasurement() {
        return measurement;
    }

    public void setMeasurement(String measurement) {
        this.measurement = measurement;
    }
}
